UrlRequestJobOptions

public final static UrlRequestJob.Options UrlRequestJobOptions(HttpStatus status, List<HttpHeader> headers)
public final static UrlRequestJob.Options UrlRequestJobOptions(HttpStatus status, List<HttpHeader> headers)

Creates a new instance of UrlRequestJob.Options with the given status code and headers.

Since

8.0.0

Parameters

status

The HTTP status code.

headers

List of HTTP headers.